﻿using AMapPlugin.Dtos;
using Refit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AMapPlugin.HttpApi
{
    public interface IAmapApi
    {
        [Get("/v3/ip")]
        Task<IpInfo> GetIpInfo(string ip);


        [Get("/v3/weather/weatherInfo")]
        Task<AmapWeather> GetWeather(string city);
    }
}
